package com.app.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_plan_funds")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PlanFundsModel {
    private Integer id;
    private int departmentId;
    @TableField(exist = false)
    private double sumAll;
    @TableField(exist = false)
    private double sumCount;
    @TableField(exist = false)
    private String departmentText;
    @TableField(exist = false)
    private String TypeText;
    @JsonIgnore
    @TableField(exist = false)
    private int type;
    @TableField(exist = false)
    private Double amount;
    private Double taskPlan;//计划任务
    @TableField(exist = false)
    private Double completionFunds;//完成金额
    @TableField(exist = false)
    private Double taskCompletion;//完成度
    @TableField(exist = false)
    private String rate;
    @TableField(exist = false)
    private String statusText;//状态
    private Integer status;//状态
    private String year;
    @JsonIgnore
    @TableField(exist = false)
    private Double v;
    @JsonIgnore
    @TableField(exist = false)
    private Integer sort;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    @TableField(exist = false)
    private Integer limit;
    @TableField(exist = false)
    private Integer page;
}
